#{extends 'main.html' /}
#{set title:'Home' /}

Lista de Bairros Cadastrados<br/>
#{list items:neighborhoods, as:'neighborhood'}
	${neighborhood.name}
	#{a @Neighborhoods.show(neighborhood.id)} Detalhes #{/a}
	#{a @Neighborhoods.delete(neighborhood.id)} Excluir #{/a}
	#{a @Neighborhoods.update(neighborhood.id)} Atualizar #{/a}<br/>
#{/list}

#{a @neighborhoods.create()} Criar Novo Bairro #{/a}